//
//  HGInitView.m
//  HGInitManager
//
//  Created by  ZhuHong on 2017/4/29.
//  Copyright © 2017年 CoderHG. All rights reserved.
//

#import "HGInitView.h"

@interface HGInitView ()


/**
 提示Label
 */
@property (weak, nonatomic) IBOutlet UILabel *hgLabel;


@end

@implementation HGInitView

/**
- (instancetype)init
{
    self = [super init];
    
    // TODO: 给当前视图做默认设置
    
    NSLog(@" init ");
    
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    
    // TODO: 给当前视图做默认设置
    
    NSLog(@" initWithFrame: ");
    
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    
    // TODO: 给当前视图做默认设置
    // 无效
    self.hgLabel.textColor = [UIColor redColor];
    
    NSLog(@"initWithCoder:");
    
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    // TODO: 给当前视图做默认设置
    self.hgLabel.textColor = [UIColor redColor];
    
    NSLog(@"awakeFromNib");
    
}
 
 */


#pragma mark -
#pragma mark - 默认设置
- (void)baseSetter {
    // TODO: 默认设置
    
}


- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    
    // TODO: 添加子控件
    
    // 默认设置
    [self baseSetter];
    
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    // 默认设置
    [self baseSetter];
}

@end
